<?php echo $html->docType('xhtml-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml"  dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title_for_layout?></title>

<!-- CSS -->
<?php
//        echo $html->meta('icon');
        
        echo $html->css(
            array(
                'admin/style/css/transdmin', 
                
            )
        );
        
        echo $javascript->link(
            array(
                'jquery', 
                'jNice', 
                
            )
        );
    ?>
<link href="" rel="stylesheet" type="text/css" media="screen" />


<?php echo $scripts_for_layout ?>
<!-- JavaScripts-->
<!--<script type="text/javascript" src="style/js/jquery.js"></script>
<script type="text/javascript" src="style/js/jNice.js"></script>-->
</head>

<body>
	<div class="wrapper">
    	<!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
        <!--<h1 class="nobg"><a href="#"><?php echo $html->image('admin/phpknight.jpg');   ?></a></h1>-->
    	<h1 class="nobg"><b class="fR">Welcome, <?php echo $user['User']['name']?></b><a href="#">Rupantor Institute of Folk Theatre (RIFT)</a></h1>
        
        <!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
        <ul class="mainNav">
        	<li><a href="" class="active">DASHBOARD</a>
                
            </li> 
            <li><a href="#">MANAGE CONTENTS</a></li>
            <li><a href="#">SITE ADMINISTRATION</a></li>
        	<li><a href="#">SETTINGS</a></li>
        	<li class="logout"><?php echo $html->link('LOGOUT',array('controller'=>'users','action'=>'logout','admin'=>false))?></li>
        </ul>
        <!-- // #end mainNav -->
        <?php
            echo $session->flash();
            echo $session->flash('auth');
        ?>
        
        <div class="containerHolder">
			<div class="container">
        		<div class="sidebar">
                	<ul class="sideNav">
                    	<li><a href="#">Trainings</a></li>
                    	<li><a href="#" class="active">Performances</a></li>
                    	<li><a href="#">Search</a></li>
                    	
                    </ul>
                    
                </div>    
                <!-- // #sidebar -->
                
                <!-- h2 stays for breadcrumbs -->
                <h2><?php echo $title_for_layout ?></h2>
                
                
                
                <?php echo $content_for_layout ?>
                <!-- // #main -->
                
                <div class="clear"></div>
            </div>
            <!-- // #container -->
        </div>	
        <!-- // #containerHolder -->
        
        <p class="footer">Copyright &copy; 2010 phpknight.com</a></p>
    </div>
    <!-- // #wrapper -->
    <div class="cake-sql-log">
        <?php echo $this->element('sql_dump'); ?>
    </div>
</body>
</html>
